<%@ page contentType="text/html;charset=UTF-8" %>
								<div class="toolbutton">
									<div class="toolicon">
										<img src="img/icons/16x16/user.png" width="16" height="16" alt="user" >
									</div>
									<div class="toolmenu">
									<sec:ifLoggedIn>
										<div class="toolcaption">
											<span><sec:username/></span>
										</div>
										<!-- Start of menu -->
										<div class="dropdown">
											<ul>
												<li>
													<a href="#">Settings</a>
												</li>
												<li>
													<a href="${createLinkTo(dir:'/logout/index')}">Logout</a>
												</li>
											</ul>
										</div> <!-- End of menu -->
									</sec:ifLoggedIn>
									<sec:ifNotLoggedIn>
       									<div class="toolcaption">
											<span><a href="${createLinkTo(dir:'/login/auth')}"><g:message code="springSecurity.login.title"/></a></span>
										</div>
      								</sec:ifNotLoggedIn>
										 
									</div>
								</div>